﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using ITOMMS.Entity;

namespace ITOMMS.Web.StructureDiagram
{
    public partial class StructureDiagramEdit : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Request.QueryString["picname"] != null)
                {
                    string picname = Request.QueryString["picname"].ToString();
                    //Image1.ImageUrl = "~/uploadfiles/" + picname;

                    tbStructureDiagramEntity diagram = new Entity.tbStructureDiagramEntity();
                    diagram = diagram.GetById(int.Parse(Request.QueryString["id"]));
                    this.lblDiagramTyepName.Text = diagram.SDType;
                }
            }

        }
    }
}
